import request from '@/utils/request';

export async function reqTyWalletList(data: any, options?: any): Promise<any> {
	return request('/api/v1/wallet/patientWalletQuery', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyWallet(data: any, options?: any): Promise<any> {
	return request('/api/v1/tyWallet/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyWallet(data: any, options?: any): Promise<any> {
	return request('/api/v1/tyWallet/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyWallet(data: any, options?: any): Promise<any> {
	return request('/api/v1/tyWallet/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


